#ifndef CONTROL_FILE_H
#define CONTROL_FILE_H

#include <string>
#include <sys/stat.h>
#include <time.h>
#include <fcntl.h>
#include <unistd.h>
#include <list>
#include <iostream>

class controlFile
{
    public:
        controlFile() {}
        ~controlFile() {}

        void writeFileConfig();
        void readFileConfig();

        std::string FilePath;

        struct timeData
        {
            int stringLength;
            std::string Title;
            tm Time;
            int mode;
            int uuid;
        };

        std::list<timeData> m_timeData;

};

#endif